package cn.jwcat.service;

import cn.jwcat.dealEntity.UserDto;
import cn.jwcat.entity.Password;
import cn.jwcat.entity.User;
import cn.jwcat.utils.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 用户 服务类
 */
public interface IUserService extends IService<User> {

	List<UserDto> getUserInfoList(Integer staffId);

	List<UserDto> queryUser(Integer staffId, String uname);

	boolean deleteUserById(Integer userId, Integer staffId);

	Result updateUser(User user);

	Result postUser(User user);

	Result changePwd(Password password);

	Boolean supplement(Integer roomId, Integer uid);
}
